<?php if (!defined('THINK_PATH')) exit(); if(is_array($tree)): $i = 0; $__LIST__ = $tree;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$list): $mod = ($i % 2 );++$i;?><dl class="cate-item">
		<dt class="cf">
			<form action="<?php echo U('edit');?>" method="post">
				<div class="btn-toolbar opt-btn cf">
					<a title="<?php echo (show_status_op($list["status"])); ?>" href="<?php echo U('setStatus?uid='.$list['uid'].'&status='.abs(1-$list['status']));?>" class="ajax-get"><?php echo (show_status_op($list["status"])); ?></a>
					<a title="删除" href="<?php echo U('remove?uid='.$list['uid']);?>" class="confirm ajax-get">删除</a>
				
				</div>
				<div class="fold"><?php echo ($list["uid"]); ?></div>
				<div class="order"><input type="text" name="sid" class="text input-mini" value="<?php echo ($list["sid"]); ?>"></div>
				<div class="order"><?php echo ($list['status']?'启动':'禁用'); ?></div>

				<div class="name" >
					<span class="tab-sign"></span>
					<input type="hidden" name="uid" value="<?php echo ($list["uid"]); ?>">
				
					<input type="text" name="name" class="text" <?php if(ACTION_NAME == 'ywzt'): ?>style="margin-left:15px;" <?php else: endif; ?>  value="<?php echo ($list["name"]); ?>">
				
					<!-- <a class="add-sub-cate" title="添加子分类" href="<?php echo U('add?pid='.$list['id']);?>">
						<i class="icon-add"></i>
					</a> -->
					<span class="help-inline msg"></span>
				</div>
			
			</form>
		</dt>
		<!-- <?php if(!empty($list['_'])): ?><dd>
				<?php echo R('Category/tree', array($list['_']));?>
			</dd><?php endif; ?> -->
	</dl><?php endforeach; endif; else: echo "" ;endif; ?>